package com.edeweiss.community.services.servicesImp;

import com.edeweiss.community.dao.FaultyDao;
import com.edeweiss.community.dao.daoImp.FaultyDaoImp;
import com.edeweiss.community.domain.Faulty;
import com.edeweiss.community.services.FaultyService;

import java.util.List;

public class FaultyServiceImp implements FaultyService {
    FaultyDao faultyDao= new FaultyDaoImp();

    @Override
    public List<Faulty> showFaulty() {
        List<Faulty> query=faultyDao.showFaulty();
        return query;
    }
}
